package com.streamsets.datacollector.model.etl.bean;

/**
 *  全列值替换 实体Bean
 *  示例如：
     {
     "setToNull" : false,  #请求的时候1:true,0:false
     "fields" : "/customer_id",
     "replacement" : "666"
     }
 * @author wengzhonghui
 * @date 2020/9/17 16:27
 */
public class ColumnToReplaceBean {

    // 是否设置为空1是，0否
    private String setToNull = "0";

    // 需要替换的字段,如/customer_id
    private String fields;

    // 需要替换成的值
    private String replacement;

    public String getSetToNull() {
        return setToNull;
    }

    public void setSetToNull(String setToNull) {
        this.setToNull = setToNull;
    }

    public String getFields() {
        return fields;
    }

    public void setFields(String fields) {
        this.fields = fields;
    }

    public String getReplacement() {
        return replacement;
    }

    public void setReplacement(String replacement) {
        this.replacement = replacement;
    }
}


